package com.zhuss.enums;


//报修流程2020-03-01
public enum RepairEnum{
	
	/******************* 1.报修登记  [1, 2] ************************/
	填写表单(1,1,"报修草稿"),
	报修撤回(1,2,"填写并提交"),
	
	/******************* 2.报修审核  [2, 99] ************************/
	报修签收(2,1,"报修签收"),
	报修派单(2,2,"报修派单"),
	报修反馈结案(2,99,"报修反馈结案"),
	
	/******************* 3.报修勘察  [3, 99] ************************/
	勘察完成(3,1,"勘察完成"),
	报修勘察结案(3,3,"报修勘察结案"),
	
	/******************* 4.物业维修  [4, 99] ************************/
	物业再次维修(3,3,"物业再次维修"),
	物业维修完成(4,4,"物业维修完成"),
	物业维修结案(4,99,"物业维修结案"),
	
	/******************* 5.物业核查  [5, 99] ************************/
	物业核查结案(5,5,"物业核查结案"),
	
	/******************* 6.维修评价  [6, 99] ************************/
	维修评价完成(6,6,"维修评价完成"),
	
	/******************* 7.结案备案  [7, 99] ************************/
	结案备案完成(7,7,"结案备案完成"),
	
	/******************* 8.报修台账  [8, 99] ************************/
	//结束

	
	结束(99,99,"结束");//这个后面必须有分号
    
    private int step;
    private int audit;
    private String name;
    
    private RepairEnum(int step,int audit,String name) {
        this.step = step;
        this.audit = audit;
        this.name = name();
    }

	public int getStep() {
		return step;
	}

	public void setStep(int step) {
		this.step = step;
	}

	public int getAudit() {
		return audit;
	}

	public void setAudit(int audit) {
		this.audit = audit;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
    
}
